package com.github.boluo1230.wechat.entity.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Code Farmer
 * @date 2019/10/22 10:30
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WxAccessToken {

    private int errno;
    private String errmsg;
    @JsonProperty("access_token")
    private String accessToken;

    public WxAccessToken(int errno, String errmsg) {
        this.errno = errno;
        this.errmsg = errmsg;
    }


}
